package edu.hunau.cxb19.oop.class16.enums;
 

/**
 * 枚举类
 * 
 * @author hb
 *Enum
 *         2020-03-17 16:10:57
 */
public enum Season {
	//public static final SeasonClass SPRING=new SeasonClass("春天", "春天不是读书天");
	SPRING("春天", "春风又绿江南岸"), 
	SUMMER("夏天", "映日荷花别样红"), 
	AUTUMN("秋天", "秋水共长天一色"), 
	WINTER("冬天", "千里冰封万里雪飘"); 

	private String name;
	private String desc;

	private Season(String name, String desc) {
		this.name = name;
		this.desc = desc;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
 	public void setName(String name) {
		this.name = name;
	}

 	public String getDesc() {
		return desc;
	}

 	public void setDesc(String desc) {
		this.desc = desc;
	}

}
